﻿@model EpiInfoCloudMagpiBridge.MagpiAzureMapping

@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}


<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Edit</title>
</head>
<body>
    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/jqueryval")



@using (Html.BeginForm())
{
        @Html.AntiForgeryToken()
        
        <div class="form-horizontal">
            <h3>Edit Registered Datasets</h3>
            <hr />
            @Html.ValidationSummary(true, "", new { @class = "text-danger" })
            @Html.HiddenFor(model => model.Id)
    
            @*<div class="form-group">
                @Html.LabelFor(model => model.EWAVUserID, htmlAttributes: new { @class = "control-label col-md-2 unbold" })
                <div class="col-md-10">
                    @Html.EditorFor(model => model.EWAVUserID, new { htmlAttributes = new { @class = "form-control" } })
                    @Html.ValidationMessageFor(model => model.EWAVUserID, "", new { @class = "text-danger" })
                </div>
            </div>*@
    
            <div class="form-group">
                @Html.LabelFor(model => model.SurveyName, htmlAttributes: new { @class = "control-label col-md-2 unbold", disabled = "disabled" })
                <div class="col-md-10">

                    @Html.TextBoxFor(model => model.SurveyName, new { @readonly = "readonly" })

                 
                </div>
            </div>
    
            <div class="form-group">
                @Html.LabelFor(model => model.SurveyID, htmlAttributes: new { @class = "control-label col-md-2 unbold" })
                <div class="col-md-10">
                    @Html.EditorFor(model => model.SurveyID, new { htmlAttributes = new { @class = "form-control" } })
                    @Html.ValidationMessageFor(model => model.SurveyID, "", new { @class = "text-danger" })
                </div>
            </div>
    
            <div class="form-group">
                @Html.LabelFor(model => model.MobileServiceTableName, htmlAttributes: new { @class = "control-label col-md-2 unbold" })
                <div class="col-md-10">
                    @Html.EditorFor(model => model.MobileServiceTableName, new { htmlAttributes = new { @class = "form-control" } })
                    @Html.ValidationMessageFor(model => model.MobileServiceTableName, "", new { @class = "text-danger" })
                </div>
            </div>
    
            <div class="form-group">
                <div class="col-md-offset-0 col-md-10">
                    <button type="submit" class="btn btn-primary">Save</button>
                </div>
            </div>
        </div>
    }
    
    <div>
        <br />
        <br />
        <br />
        @Html.ActionLink("Back to List", "Index")
    </div>
</body>
</html>
